package com.levi.form;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author shentong
 * @since 2022/3/30 10:06 PM
 */
@Data
@ApiModel("添加购物车实体类")
@AllArgsConstructor
@NoArgsConstructor
public class CartAddForm {

    @NotNull
    private Integer productId;

    private Boolean selected = true;
}
